<script setup lang="ts">
import StartBox from "@/components/StartBox/StartBox.vue";

import { onMounted } from "vue";

import { useExamStore } from "@/store/modules/exam";

import { useRouter } from 'vue-router'

const router = useRouter()
const examStore = useExamStore();
const toExam = () => {
    examStore.setPaperType('4')
    router.replace("/exam-mock")
};
onMounted(() => {
});
</script>

<template>
    <StartBox :title="examStore.allData.list[3].title" :subtitle="examStore.allData.list[3].questionName"
        :instruction="''" :content="examStore.allData.list[3].describe" :btn-click="toExam" />


</template>

<style lang="scss" scoped></style>
